package com.hww.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: heweiwei
 * @time: 2025/4/28 20:23
 * @description:
 */
public class BeanDefinition {
    private String beanName;
    private Class<?> beanClass;
    private String scope = "singleton";
    private Map<String, Object> propertyValues = new HashMap<>();

    public BeanDefinition(String beanName, Class<?> beanClass) {
        this.beanName = beanName;
        this.beanClass = beanClass;
    }

    public String getBeanName() {
        return beanName;
    }

    public Class<?> getBeanClass() {
        return beanClass;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public Map<String, Object> getPropertyValues() {
        return propertyValues;
    }
}
